<% provide(:title, t('category.index.title')) %>

<div id="content_title"><%= t('category.index.title') %></div>
<hr noshade size="1">

<%= render 'documents/browse-options' %>

<%= will_paginate %>

<ul class="categories">
	<% if @categories.each do |category| %>
		<%= render category %>
	<% end.empty? %>
		<%= t('content.list.no_elements', elements: t('activerecord.models.category', count: 2)) %>
	<% end %>
</ul>

<%= will_paginate %>